package com.ruoyi.fts.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.fts.domain.FtsRefundOrder;

/**
 * 退款订单Mapper接口
 *
 * @author lumberer
 * @date 2024-11-09
 */
public interface FtsRefundOrderMapper extends BaseMapper<FtsRefundOrder> {
    /**
     * 查询退款订单
     *
     * @param id 退款订单主键
     * @return 退款订单
     */
    public FtsRefundOrder selectFtsRefundOrderById(Long id);

    /**
     * 查询退款订单列表
     *
     * @param ftsRefundOrder 退款订单
     * @return 退款订单集合
     */
    public List<FtsRefundOrder> selectFtsRefundOrderList(FtsRefundOrder ftsRefundOrder);

    /**
     * 新增退款订单
     *
     * @param ftsRefundOrder 退款订单
     * @return 结果
     */
    public int insertFtsRefundOrder(FtsRefundOrder ftsRefundOrder);

    /**
     * 修改退款订单
     *
     * @param ftsRefundOrder 退款订单
     * @return 结果
     */
    public int updateFtsRefundOrder(FtsRefundOrder ftsRefundOrder);

    /**
     * 删除退款订单
     *
     * @param id 退款订单主键
     * @return 结果
     */
    public int deleteFtsRefundOrderById(Long id);

    /**
     * 批量删除退款订单
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFtsRefundOrderByIds(Long[] ids);
}